package com.hhxyjsj.demo;

import com.hhxyjsj.demo.service.IQueryService;
import com.hhxyjsj.framework.context.FileSystemApplicationContext;

/**
 * IOC容器测试
 * 
 * @author hhxyj
 *
 */
public class IOCTest {

	public static void main(String[] args) {
		FileSystemApplicationContext context = new FileSystemApplicationContext("ioc.properties");
		IQueryService iQueryService = context.getBean(IQueryService.class);
		iQueryService.queryNameById(1L);
	}
}
